package com.jfinal.demo;

import com.jfinal.core.Controller;

/**
 * @author lhw
 * @date 2021/11/19 19:12
 */
public class HelloController extends Controller {
    /**
     * 默认路径
     */
    public void index() {
     //   render("/index.jsp");
        hello();
    }

    /**
     * 指定路径,route里的url+/hello
     */
    public void hello() {
        renderText("Hello JFinal World......");
    }

}
